<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Restore");
$this->breadcrumbs=array(
	UserModule::t("Login") => array('/user/login'),
	UserModule::t("Restore"),
);
?>

<div class="login"><h3><?php echo UserModule::t("Lấy lại mật khẩu"); ?></h3>
    
    <?php if(Yii::app()->user->hasFlash('recoveryMessage')): ?>
    <div class="success">
    <?php echo Yii::app()->user->getFlash('recoveryMessage'); ?>
    </div>
    <?php else: ?>
    
    <div class="form">
    <?php echo CHtml::beginForm(); ?>
    
        <?php //echo CHtml::errorSummary($form); ?>
        
        <div class="row">
           <label for="">Email</label>
            <?php echo CHtml::activeTextField($form,'login_or_email') ?>
            
        </div>
        <div class="row">
           
            <p class="hint">Hãy điền email của bạn để lấy lại mật khẩu .</p>
        </div>
        
        <div class="row submit">
            <label for="">&nbsp;</label>
            <?php echo CHtml::submitButton(UserModule::t("Tiếp tục")); ?>
        </div>
    
    <?php echo CHtml::endForm(); ?>
    </div><!-- form -->
    <?php endif; ?></div>